#ifndef CSYNCPROCESSDIALOG_H
#define CSYNCPROCESSDIALOG_H

#include <QDialog>
#include <QNetworkReply>

namespace Ui {
    class CSyncProcessDialog;
}

class CSyncProcessDialog : public QDialog {
    Q_OBJECT
public:
    CSyncProcessDialog(QWidget *parent = 0);
    ~CSyncProcessDialog();

public slots:
    void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
    void uploadProgress(qint64 bytesSent, qint64 bytesTotal);
    void error(QNetworkReply::NetworkError code);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::CSyncProcessDialog *ui;
};

#endif // CSYNCPROCESSDIALOG_H
